const express = require("express");
const router = express.Router();
const mateFilmService = require("../service/mateFilmService.js");


router.get("/mateList",async function(req,res,next){
    let { page,limit } = req.query;

    let filter = null;

    let result = await mateFilmService.list(filter,page,limit)

    // console.log(result);

    res.send(result);
})

module.exports = router;